notification test: Always disable runtime deprecation warnings
authorMatthias Clasen <mclasen@redhat.com>
Sat, 28 Jun 2014 14:59:41 +0000 (10:59 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 28 Jun 2014 14:59:41 +0000 (10:59 -0400)
These are just not useful in a test that generically deals with
all properties.

testsuite/gtk/notify.c

index 0b963a5a2ff137761d77d158dd8deb0dd503baf0..031ec7d498c0ab6061fd33b04ad062ca8affebaf 100644 (file)
@@ -645,6 +645,7 @@ main (int argc, char **argv)
   /* These must be set before before gtk_test_init */
   g_setenv ("GIO_USE_VFS", "local", TRUE);
   g_setenv ("GSETTINGS_BACKEND", "memory", TRUE);
+  g_setenv ("G_ENABLE_DIAGNOSTIC", "0", TRUE);
 
   gtk_test_init (&argc, &argv);
   gtk_test_register_all_types();